package homework;
class Father {
	int a;
	int b;
	public Father(int a,int b) {
		this.a=a;
		this.b=b;
		System.out.println(this.a);
		System.out.println(this.b);
		System.out.println("父类构造");
	}
}
class Son extends Father{
	int x;
	int y;
	public  Son(int a,int b) {
		super(a,b);

		System.out.println(this.x);
		System.out.println(this.y);
		System.out.println("子类的构造");
	}
}
public class test5 {
	public static void main(String[] args) {
		Son son=new Son(40,50);
	}
}
